﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Bookkeeping.Web.WebForm1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="conditional">
            <ContentTemplate>
                <asp:Label ID="testlabel" runat="server" />
                <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text="Button"></asp:Button>
                    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button1"
                        PopupControlID="Panel2" BackgroundCssClass="DisabledBackground" CancelControlID="Button3">
                    </ajaxToolkit:ModalPopupExtender>
                </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
        
        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="conditional">
                <ContentTemplate>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    <asp:Button ID="Button2" runat="server" Text="PostBack" OnClick="postback_click"></asp:Button>
                    <asp:Button ID="Button3" runat="server" Text="Button"></asp:Button>
                </ContentTemplate>
            </asp:UpdatePanel>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
